package com.example.bomc.common.msg;

import com.example.bomc.model.FixStaff;
import com.example.bomc.model.Query;

import java.util.List;

/**
 * 返回消息统一定义文件CodeMsg
 */

public class CodeMsg {
    private int retCode;
    private String message;
    private List<Query> list;
    private List<FixStaff> ll;

    public static CodeMsg SUCCESS = new CodeMsg(0,"success");
    public static CodeMsg ERROR = new CodeMsg(-1,"error");

    public CodeMsg() {
    }

    public CodeMsg(int retCode, String message) {
        this.retCode = retCode;
        this.message = message;
    }
    public int getRetCode() {
        return retCode;
    }
    public String getMessage() {
        return message;
    }

    public void setRetCode(int retCode) {
        this.retCode = retCode;
    }


    public List<Query> getList() {
        return list;
    }

    public void setList(List<Query> list) {
        this.list = list;
    }

    public void setMessage(String message) {
        this.message = message;
    }


    public List<FixStaff> getLl() {
        return ll;
    }

    public void setLl(List<FixStaff> ll) {
        this.ll = ll;
    }
}
